package com.ybwh.springboot2;

import com.ybwh.springboot2.handler.ApiHandlerScan;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;


@Slf4j
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
@ApiHandlerScan(basePackages = {"com.ybwh.springboot2.handler.api"})
public class HandlerApp {

    public static void main(String[] args) {
        SpringApplication.run(HandlerApp.class, args);


        log.info("---------------------HandlerApp start success --------------------");

    }
}
